Package com.cisco.pt.ipc.sim.pdu.impl
Class IkePduImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.IkePduImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Byteprotected Byteprotected longprotected intprotected intprotected Byteprotected List<IkePayload>protected longprotected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getData()getFieldType(String fieldName) getFlag()longintgetMsgId()intlongvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidsetExchangeType(Byte exchangeType) voidvoidsetInitCookie(long initCookie) voidsetMsgId(int msgId) voidsetMsgLength(int msgLength) voidsetNextPayload(Byte nextPayload) voidsetPayloadList(List<IkePayload> payloadList) voidsetResponseCookie(long responseCookie) voidsetVersionNumber(Byte versionNumber) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
initCookie
protected long initCookie -
responseCookie
protected long responseCookie -
nextPayload
-
versionNumber
-
exchangeType
-
flag
-
msgId
protected int msgId -
msgLength
protected int msgLength -
payloadList
-
data
-
-
Constructor Details
-
IkePduImpl
public IkePduImpl()
-
-
Method Details
-
getInitCookie
public long getInitCookie()- Specified by:
getInitCookiein interfaceIkePdu- Returns:
- long Returns a long
-
setInitCookie
public void setInitCookie(long initCookie) - Specified by:
setInitCookiein interfaceIkePdu- Parameters:
initCookie- Takes in a parameter of initCookie
-
getResponseCookie
public long getResponseCookie()- Specified by:
getResponseCookiein interfaceIkePdu- Returns:
- long Returns a long
-
setResponseCookie
public void setResponseCookie(long responseCookie) - Specified by:
setResponseCookiein interfaceIkePdu- Parameters:
responseCookie- Takes in a parameter of responseCookie
-
getNextPayload
- Specified by:
getNextPayloadin interfaceIkePdu- Returns:
- Byte Returns a Byte
-
setNextPayload
- Specified by:
setNextPayloadin interfaceIkePdu- Parameters:
nextPayload- Takes in a parameter of nextPayload
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceIkePdu- Returns:
- Byte Returns a Byte
-
setVersionNumber
- Specified by:
setVersionNumberin interfaceIkePdu- Parameters:
versionNumber- Takes in a parameter of versionNumber
-
getExchangeType
- Specified by:
getExchangeTypein interfaceIkePdu- Returns:
- Byte Returns a Byte
-
setExchangeType
- Specified by:
setExchangeTypein interfaceIkePdu- Parameters:
exchangeType- Takes in a parameter of exchangeType
-
getFlag
-
setFlag
-
getMsgId
public int getMsgId() -
setMsgId
public void setMsgId(int msgId) -
getMsgLength
public int getMsgLength()- Specified by:
getMsgLengthin interfaceIkePdu- Returns:
- int Returns a int
-
setMsgLength
public void setMsgLength(int msgLength) - Specified by:
setMsgLengthin interfaceIkePdu- Parameters:
msgLength- Takes in a parameter of msgLength
-
getPayloadList
- Specified by:
getPayloadListin interfaceIkePdu- Returns:
- List<IkePayload> Returns a List<IkePayload>
-
setPayloadList
- Specified by:
setPayloadListin interfaceIkePdu- Parameters:
payloadList- Takes in a parameter of payloadList
-
getData
-
setData
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-